Skip to content

chore: remove example/ios/Podfile.lock from version control#206

Merged
robert-northmind merged 1 commit intomainfrom
chore/remove-podfile-lock-false-positive-cve
Apr 10, 2026
Merged

chore: remove example/ios/Podfile.lock from version control#206
robert-northmind merged 1 commit intomainfrom
chore/remove-podfile-lock-false-positive-cve

Conversation

@robert-northmind
Copy link
Copy Markdown
Collaborator

@robert-northmind robert-northmind commented Apr 10, 2026

Summary

  • Remove example/ios/Podfile.lock from git tracking and add it to .gitignore
  • The Flutter engine CocoaPod always hardcodes version 1.0.0 in its podspec, causing Grype to flag CVE-2022-3095 (Critical, 9.8) as a false positive — the actual Flutter SDK in use is 3.41.2, well past the fix version of 3.3.3
  • The file is auto-generated by Flutter's build tooling (pod install runs automatically during flutter build ios) and all pods except PLCrashReporter are local path-based sources

Test plan

  • Verify example/ios/Podfile.lock is no longer tracked
  • Verify example app still builds: cd example && flutter build ios --no-codesign

Made with Cursor


Note

Low Risk
Low risk housekeeping change that only updates repo hygiene by ignoring and removing an auto-generated lockfile; no runtime code paths are affected.

Overview
Removes example/ios/Podfile.lock from version control and adds it to .gitignore so the example app’s generated CocoaPods lockfile is no longer tracked.

This reduces noise/false-positive dependency scanning caused by the Flutter engine pod reporting version 1.0.0.

Reviewed by Cursor Bugbot for commit 9c68619. Bugbot is set up for automated code reviews on this repo. Configure here.

The Flutter engine CocoaPod always reports version 1.0.0 regardless of
the actual Flutter SDK version, triggering a false-positive CVE-2022-3095
(Critical) in vulnerability scanners. The file is auto-generated by
Flutter's build tooling and adds no reproducibility value for the example app.

Made-with: Cursor
@robert-northmind robert-northmind merged commit 13e19be into main Apr 10, 2026
12 checks passed
@robert-northmind robert-northmind deleted the chore/remove-podfile-lock-false-positive-cve branch April 10, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant